
let menu = {
    menus: [
        {
            key: '/home', desc: '仪表面板', icon: 'el-icon-monitor', permission: 'home_view',
        },
                {
            key: '1', desc: '用户管理', icon: 'el-icon-user', permission: 'account_user_view|account_role_view',
            subs: [
                {key: '/account/user', permission: 'account_user_view', desc: '用户列表'},
                {key: '/account/role', permission: 'account_role_view', desc: '角色权限'}
            ]
        },
        {
            key: '/account/vpsjson', desc: '国外vps评测', icon: 'el-icon-s-comment',permission: 'account_user_view'
        },
        {
            key: '2', desc: '批量远程', icon: 'el-icon-s-promotion',
            permission: 'assets_host_view|assets_host_exec_view|assets_host_sftp_importfile|assets_host_sftp_view',
            subs: [
                {key: '/assets/host',  desc: '主机列表',icon:'el-icon-refresh',permission: 'assets_host_view'},
                {key: '/assets/win_host_exec', desc: 'windows批量执行',icon:'el-icon-video-play',permission: 'assets_host_exec_view'},
                {key: '/assets/host_exec', desc: 'linux批量执行',icon:'el-icon-video-play',permission: 'assets_host_exec_view'},
                {key: '/assets/win_host_sftp', desc: 'windows批量传输',icon:'el-icon-view',permission: 'assets_host_sftp_importfile|assets_host_sftp_view'},
                {key: '/assets/host_sftp', desc: 'linux批量传输',icon:'el-icon-view',permission: 'assets_host_sftp_importfile|assets_host_sftp_view'}
            ]
        },
        {
            key: '3', desc: '监控告警', icon: 'el-icon-warning',
            permission: 'assets_host_view|assets_host_exec_view|assets_host_sftp_importfile|assets_host_sftp_view',
            subs: [
                {key: '/system/dynamic_view', desc: '实时信息',icon:'el-icon-video-play',permission: 'assets_host_exec_view'},
                {key: '/system/threshold', desc: '日志管理',icon:'el-icon-view',permission: 'assets_host_exec_view'},
                {key: '/system/notify', desc: '通知管理',icon:'el-icon-view',permission: 'assets_host_exec_view'},
            ]
        },
        {
            key: '4', desc: '任务管理', icon: 'fa fa-calendar', permission: 'job_task_view', subs: [
                {key: '/schedule/job', permission: 'job_task_view', desc: '任务列表'}
            ]
	},
    ]
};

export default menu;

